<!-- Content Wrapper. Contains page content -->
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">添加一篇分类吧</h3>
        </div>
        <form role="form" action="{:url('article/classSave')}" method="post">

            <div class="form-group">
                <label for="className">分类名</label>
                <input type="text" class="form-control" name="className" id="className" value="" placeholder="分类名请不要过于没节操!">
            </div>
            <div class="form-group">
                <label for="selectAge">上级分类</label>
                <select name="fid" id="selectAge" class="form-control">
                    <option value="0">顶级分类</option>
                    {volist name="classList" id="vo"}
                    <option value="{$vo.id}">{$vo.name}</option>
                    {/volist}
                </select>
            </div>
            <input type="hidden" name="_method" value="get" >
            <div class="box-footer">
                <button type="submit" class="btn btn-primary">确认</button>
            </div>
        </form>

    </div>
<script>
    $('#classShow').addClass('active');
</script>